package scoutobahn;
import scoutobahn.ui.Controller;
import scoutobahn.ui.View;
/** Start Scoutobahn class.
 * @author mark
 *
 */
public final class StartScoutobahn {

    private StartScoutobahn() { }
    /** Starts scoutobahn.
     * @param args Commandline arguments
     */
	public static void main(final String[] args) {
	    try {
            for (javax.swing.UIManager.LookAndFeelInfo info
                    : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(View.class.getName())
            .log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(View.class.getName())
            .log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(View.class.getName())
            .log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(View.class.getName())
            .log(java.util.logging.Level.SEVERE, null, ex);
        }
        
		Controller mainController = new Controller();
		mainController.startApp();
	}

}
